package atm;

import javax.swing.*;
import java.awt.*;

public class SearchPanel extends JPanel {
    private ImageIcon sure = new ImageIcon("images/buttonSure.jpg");
    private JLabel money = new JLabel("账户金额：");
    private JTextField moneyField = new JTextField();
    private JButton sureBtn=new JButton(sure);
    private Font font = new Font("黑体",Font.BOLD,20);

    public  SearchPanel(){
        this.setLayout(null);
        this.add(sureBtn);
        this.add(money);
        this.add(moneyField);
        money.setBounds(300,200,120,50);
        sureBtn.setBounds(400,260,140,50);
        moneyField.setBounds(400,200,140,50);
        money.setFont(font);




        this.setOpaque(false);
    }

}
